/**
 * 文件名：BulletinInfoEntity.java
 * 版权：vinbet.com. All Rights Reserved.
 * 描述：<简要描述>
 * 修改人：duanhx
 * 修改时间：2011-7-20
 * 修改内容：新增
 * 修改人：
 * 修改时间：
 * 修改内容：
 */
package com.ssc.portal.demo.entity.db;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.DateTimeFormat.ISO;

import com.ssc.portal.common.base.entity.BaseEntity;


/**
 * 
 * @author duanhx
 * @version [版本号; 2011-7-20]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class UserEntity extends BaseEntity {
	
	private static final long serialVersionUID = 1L;
	
	private Integer id;

    private String username;

    private Integer gender;

    @DateTimeFormat(iso=ISO.DATE)
    private Date birthday;

    public UserEntity() {
    }
    public UserEntity(Integer id) {
    	super();
    	this.id = id;
    }
    
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
    
}
